﻿package com.d4p.custom.imageLoader
{
	import flash.events.Event;

	public class ImageProgressEvent extends Event
	{
		public static const IMAGE_PROGRESS:String = "imageProgress";
		
		public var byteL:uint;
		public var byteT:uint;
		
		public function ImageProgressEvent(byteL:uint, byteT:uint, type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.byteL = byteL;
			this.byteT = byteT;
		}
		public override function clone():Event
		{
			return new ImageProgressEvent(byteL,byteT,type,bubbles,cancelable);
		}
	}
}